Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 3 - Style Objects / Style Objects Reference
Functions / Creating and Manipulating Style Objects


GXEqualStyle

You can use the GXEqualStyle function to determine if two style objects are equal.

boolean GXEqualStyle(gxStyle one, gxStyle two);
one
A reference to one of the style objects to test for equality.
two
A reference to the other style object to test for equality.
function result
true if the style specified by the one parameter is equal to the style specified by the two parameter; false otherwise.
DESCRIPTION
The GXEqualStyle function returns as its function result a Boolean value indicating whether the two style objects are equal.

For two style objects to be equal, they must have identical properties, except that their common object properties (owner count and tag list) need not be identical.

ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
style_is_nil 
SEE ALSO
To make a copy of a style object that is equal by the criteria of this function, use the GXCopyToStyle function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996